import requests
from commom.get_id_util import get_empId_util
from commom.get_token_util import get_token_util


class IhrmBmApi:
    @classmethod
    def ihrm_bm_select_api(cls):
        resp = requests.get(url=f"http://ihrm-java.itheima.net/api/company/department/{get_empId_util()}",
                            headers={"Authorization": get_token_util()})

        return resp

    def iihrm_bm_insert_api(self):

        pass
